<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page import="org.springframework.context.ApplicationContext"%>
<%@ page import="org.springframework.web.context.support.WebApplicationContextUtils"%>
<%@ page import="snow.core.web.SystemParamService"%>
<%
	ApplicationContext context = null;
	context = WebApplicationContextUtils.getWebApplicationContext(session.getServletContext());
	SystemParamService paramService = context.getBean(SystemParamService.class);
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
	request.setAttribute("basePath", basePath);
	request.setAttribute("locale", request.getLocale());
	request.setAttribute("applicationTitle", "企业信息管理系统");
	request.setAttribute("resourcesBasePath", paramService.getValueFrom("path", "resources", "http://127.0.0.1:8080/mis/resources"));
%>
